﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace del
{
    public partial class menu : Form
    {
        public menu()
        {
            InitializeComponent();
        }

        private void menu_Load(object sender, EventArgs e)
        {

        }

        private void toolStripButtonAdd_Click(object sender, EventArgs e)
        {
            addmenu dlg = new addmenu();
            dlg.ShowDialog();
            if (dlg.DialogResult == DialogResult.OK)
            {

            }

            one dlgOne = new one();
            dlgOne.Location = new Point(0, 0);
            //panelMenu.Controls.Add(dlgOne);
            //panelMenu.Update();
        }

        private void toolStripButtonFound_Click(object sender, EventArgs e)
        {
            groupBoxFound.Visible = true;
            groupBoxFound.Focus();
        }

        private void groupBoxFound_Leave(object sender, EventArgs e)
        {
            groupBoxFound.Visible = false;
        }
    }
}
